 package com.longge.common.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.springframework.context.annotation.Import;

import com.longge.common.configuration.JacksonLongTypeAutoConfiguration;

/**
 * 全局的对Long类型转成String， 解决Long过大时js精度丢失的问题
 * @see https://mp.baomidou.com/guide/faq.html#id-worker-%E7%94%9F%E6%88%90%E4%B8%BB%E9%94%AE%E5%A4%AA%E9%95%BF%E5%AF%BC%E8%87%B4-js-%E7%B2%BE%E5%BA%A6%E4%B8%A2%E5%A4%B1
 * @author roger yang
 * @date 9/16/2019
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import(JacksonLongTypeAutoConfiguration.class)
public @interface EnableJacksonLongToString {

}
